package org.wendu.wdoa.check.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
import org.wendu.wdoa.check.dto.CheckDto;
import org.wendu.wdoa.check.model.RecTask;
import org.wendu.wdoa.common.page.PageParam;

import java.util.List;
@Mapper
public interface CheckDao {

    List<RecTask> getCheckTask(@Param("userId") String userId,@Param("pageParam") PageParam pageParam);

    @Update("update t_task_rec set tr_check_date=#{tr_check_date},tr_status=#{tr_status},tr_advice=#{tr_advice} where tr_id=#{tr_id}")
    void yanshouCurrentTask(CheckDto checkDto);
}
